import request from '@/config/axios'

export function getCreatureCascadeClassificationApi() {
	return request.post<CascadeClassificationVo[]>({
		url: '/game/g-creature/readOnly/getCreatureCascadeClassification'
	})
}

export function saveCreatureApi(data: GCreature) {
	return request.post({
		url: '/game/g-creature/saveCreature',
		data
	})
}

export function deleteCreatureApi(id: number) {
	return request.delete({
		url: '/game/g-creature/deleteCreature/' + id
	})
}
